import React, { Component } from 'react';
import {Text, View} from '@tarojs/components'
import {h5Wx} from "../../utils/h5.service";
import {vcmonitor} from "../../utils/tools";
import './index.scss'

export default class Index extends Component {
  async componentDidShow() {
    vcmonitor(this);
  }
  async UNSAFE_componentWillMount() {
    if(process.env.TARO_ENV==='h5'){
      await h5Wx.getConfig()
    }
  }
  render() {
      return (
          <View className='error-box'>
            <Text>非法访问</Text>
          </View>
      )
  }
}
